# message(STATUS " " $ENV{AARCH64_USER_LIB_PATH})

# set(AARCH64_USER_LIB_PATH  "/opt/mine/syzkbuildenv/gcc_tools/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/aarch64-none-linux-gnu/libc/usr")

set(MY_DICTIONARYS 
# $ENV{AARCH64_USER_LIB_PATH}/include/jsoncpp
# $ENV{AARCH64_USER_LIB_PATH}/include
# $ENV{AARCH64_USER_LIB_PATH}/include/pcl
# $ENV{AARCH64_USER_LIB_PATH}/include/vtk-6.3
CACHE INTERNAL "ICD Library location")

# link_directories($ENV{AARCH64_USER_LIB_PATH}/lib)

# set(CMAKE_CXX_COMPILER "/opt/mine/syzkbuildenv/gcc_tools/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++")




# # set(Orin_Path 
# "/home/soul/Music/share_folder/git/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu1/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/libc/usr")

# # # SET(CMAKE_EXE_LINKER_FLAGS "--sysroot="$Orin_Path/lib)

# link_directories(${Orin_Path}/lib)
#添加json库
# add_library(ceres STATIC IMPORTED)
# set_target_properties(ceres
#   PROPERTIES IMPORTED_LOCATION
#   /opt/mine/syzkbuildenv_orin/lib/perception/libceres.a)

include_directories(
	include
	"/opt/mine/syzkbuildenv_orin/include/perception/eigen3/"
)

# link directories
link_directories(
	include
)

link_directories(${PROJECT_SOURCE_DIR}/orin_thirdparty/lib)


set(MY_LIBS

boost_serialization
boost_timer

# flann_cpp#.so.1.9
# cudnn#.so.8
# cudart#.so.10.2
# icudata#.so.60

#nvparser#.so
#nvinfer#.so.7
# jsoncpp#.so.1
opencv_core#.so.4.1
# opencv_highgui#.so.4.1
# opencv_imgproc#.so.4.1
# opencv_videoio#.so.4.1
# opencv_imgcodecs#.so.4.1
# opencv_dnn#.so.4.1
# openmp
${PROJECT_SOURCE_DIR}/orin_thirdparty/lib/libgtsam.so.4.0.0
ceres
lapack
blas
# gtsam
gomp
tbb
glog
yaml-cpp
Geographic

opencv_calib3d#.so.4.1

c#.so.6
m#.so.6

# ld-linux-aarch64

# ld-linux-aarch64.so.1

pcl_common#.so.1.8
pcl_features#.so.1.8
pcl_filters#.so.1.8
pcl_io#.so.1.8
pcl_kdtree#.so.1.8
pcl_ml#.so.1.8
pcl_octree#.so.1.8
pcl_recognition#.so.1.8
pcl_registration
pcl_sample_consensus#.so.1.8
pcl_search#.so.1.8
pcl_segmentation#.so.1.8


boost_chrono#.so.1.65.1
boost_filesystem#.so.1.65.1
boost_iostreams#.so.1.65.1	
boost_system#.so.1.65.1
boost_thread#.so.1.65.1

boost_log#.so.1.65.1	

# vpx#.so.5
#vtkalglib-7.1#-6.3.so.6.3
# resolv#.so.2



#vtkCommonDataModel-7.1#-6.3.so.6.3
#vtkIOLegacy-7.1#-6.3.so.6.3
# vtkRenderingCore-7.1#-6.3.so.6.3
#vtkCommonExecutionModel-7.1#-6.3.so.6.3



# -Wl,-Bstatic
zkbs
daemon_sdk
sany_utils
fastrtps
fastcdr
FailureReporter
# foonathan_memory-0.7.1
# -Wl,-Bdynamic


# crypto
# tinyxml2
# ssl
pthread
rt
-ldl

-DBOOST_LOG_DYN_LINK

)






# set(MY_LIBS

# $ENV{AARCH64_USER_LIB_PATH}/lib/libflann_cpp.so.1.9
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libcudnn.so.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libcudart.so.10.2
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libicudata.so.60

# # $ENV{AARCH64_USER_LIB_PATH}/lib/libnvparser.so
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libnvinfer.so.7
# $ENV{AARCH64_USER_LIB_PATH}/lib/libjsoncpp.so.1

# $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_core.so.4.1
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_highgui.so.4.1
# $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_imgproc.so.4.1
# $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_videoio.so.4.1
# $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_imgcodecs.so.4.1
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_dnn.so.4.1

# # $ENV{AARCH64_USER_LIB_PATH}/lib/libopencv_calib3d.so.4.1

# $ENV{AARCH64_USER_LIB_PATH}/lib/libc.so.6
# $ENV{AARCH64_USER_LIB_PATH}/lib/libm.so.6

# $ENV{AARCH64_USER_LIB_PATH}/lib/ld-linux-aarch64.so.1

# $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_common.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_features.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_filters.so.1.8
#  $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_io.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_kdtree.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_ml.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_octree.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_recognition.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_sample_consensus.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_search.so.1.8
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libpcl_segmentation.so.1.8


# # $ENV{AARCH64_USER_LIB_PATH}/lib/libboost_chrono.so.1.65.1
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libboost_filesystem.so.1.65.1
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libboost_iostreams.so.1.65.1	
# $ENV{AARCH64_USER_LIB_PATH}/lib/libboost_system.so.1.65.1
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libboost_thread.so.1.65.1
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libboost_log.so.1.65.1	

# # $ENV{AARCH64_USER_LIB_PATH}/lib/libvpx.so.5
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libvtkalglib-6.3.so.6.3
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libresolv.so.2



# # $ENV{AARCH64_USER_LIB_PATH}/lib/libvtkCommonDataModel-6.3.so.6.3
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libvtkIOLegacy-6.3.so.6.3
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libvtkRenderingCore-6.3.so.6.3
# # $ENV{AARCH64_USER_LIB_PATH}/lib/libvtkCommonExecutionModel-6.3.so.6.3



# # -Wl,-Bstatic
# zkbs
# daemon_sdk
# sany_utils
# fastrtps
# fastcdr
# FailureReportSdk
# # foonathan_memory-0.7.1
# # -Wl,-Bdynamic


# # crypto
# # tinyxml2
# # ssl
# pthread
# rt
# -ldl

# -DBOOST_LOG_DYN_LINK

# )


